-- GENERATED SPELL FOR [Runic War Golem] --


function spell0_26347(pUnit, Event) --@Rune Punch,n/a--
pUnit:FullCastSpellOnTarget(52702,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_26347', 10328, 1)
end

function Sorts_26347(pUnit, Event)
local choix_sorts_26347 = math.random(0, 0)
if choix_sorts_26347 == 0 then
pUnit:RegisterEvent('spell0_26347', 1, 1)
end
end

function mob26347_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_26347', math.random(1500, 3000), 1)
end

function mob26347_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob26347_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob26347_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(26347, 1, 'mob26347_Action')
RegisterUnitEvent(26347, 2, 'mob26347_Leave')
RegisterUnitEvent(26347, 3, 'mob26347_Kill')
RegisterUnitEvent(26347, 4, 'mob26347_Die')
